package com.zzzyh.forumsystemclient.dao;

import com.zzzyh.forumsystemclient.model.Photo;

import java.util.List;

public interface PhotoMapper {
    int insert(Photo row);

    int insertSelective(Photo row);

    Photo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Photo row);

    int updateByPrimaryKey(Photo row);

    List<Photo> getPhotosByAlbumId(Long id);
}